-
Notifications
You must be signed in to change notification settings - Fork 6.7k
CHATEAU DefiLlama Adapter #17324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHATEAU DefiLlama Adapter #17324
Conversation
Added example pegged asset adapters for chUSD (Chateau's synthetic dollar) on Plasma chain: - Shorthand version using helper functions (recommended) - Full vanilla implementation - Documentation in README with contract details and usage instructions Contract: 0x22222215d4edc5510d23d0886133e7ece7f5fdc1 (Plasma chain) Peg Type: peggedUSD, Decimals: 18 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added schUSD yield adapter for yield-server (ERC-4626 vault APY calculation) - Added PR templates for TVL, pegged asset, and yield submissions - Updated README with Pyth oracle feed IDs and schUSD documentation Contracts: - chUSD: 0x22222215d4edc5510d23d0886133e7ece7f5fdc1 - schUSD: 0x888888bAb58a7Bd3068110749bC7b63B62Ce874d Pyth Feeds: - chUSD/USDT: 0x73303664bd3a81bf8ef7508a4b50ca2bc5839a9ce78e19ee6f076e12374c1e5f - schUSD/chUSD: 0xdf8468e16ad185361f8841a80906984425a48e8fc3b2cd8750755f705119dc65 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Simplified TVL adapter to use direct USD values (removes unrecognized token warnings) - Updated methodology description - Updated PR templates with correct Pyth feed names 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
The adapter at projects/chateau exports TVL: |
|
Please remove all the files outside of projects/chateau/ |
|
@waynebruce0x done for other projects. Did u mean other files such as typings, utils, and package json too? |
|
yeah I just meant remove the added files in this PR, sorry for the confusion |
|
@waynebruce0x so do you want other project files such as projects/TurtleClub/assets.js back? |
|
@waynebruce0x deleted unnecessary chateau files outside project. pls advice |
|
1.schUSD's backing tradfi Fund has a weekly liquidity up to 10% of AUM can be withdrawn on short notice. |
|
@waynebruce0x if we want to show our yields as well, do we make a new PR with yield adapter? |
|
yes please to https://github.com/DefiLlama/yield-server |
|
@waynebruce0x Also, you miscategorized us on DeFillama. We're not a basis trading project. Our yield comes from Private Credit. A better category is RWA or Private credit |
NOTE
Please enable "Allow edits by maintainers" while putting up the PR.
package-lock.jsonfile as part of your changes, we use lockfileVersion 2, and most use v1 and using that messes up our CIName (to be shown on DefiLlama):
CHATEAU
Twitter Link:
https://x.com/Chateau_capital
List of audit links if any:
https://github.com/zenith-security/reports/blob/main/reports/Chateau%20-%20Zenith%20Audit%20Report.pdf
Website Link:
https://www.chateau.capital
Logo (High resolution, will be shown with rounded borders):
Current TVL:
478,027.18$
Treasury Addresses (if the protocol has treasury)
Chain:
Plasma
Coingecko ID (so your TVL can appear on Coingecko, leave empty if not listed):
Coinmarketcap ID (so your TVL can appear on Coinmarketcap, leave empty if not listed):
Short Description (to be shown on DefiLlama):
Chateau is a DeFi protocol built to democratize access to institutional assets and private markets through stable-value assets and blockchain-native investment vehicles.
Token address and ticker if any:
0x22222215d4EdC5510d23D0886133E7ece7F5fdC1 chUSD
0x888888bab58a7bd3068110749bc7b63b62ce874d schUSD
Category (full list at https://defillama.com/categories) *Please choose only one:
RWA
Oracle Provider(s): Specify the oracle(s) used (e.g., Chainlink, Band, API3, TWAP, etc.):
Pyth
Implementation Details: Briefly describe how the oracle is integrated into your project:
https://legacy.pyth.network/price-feeds/crypto-schusd-chusd-rr schUSD/chUSD reserve ratio
https://legacy.pyth.network/price-feeds/crypto-nav-chusd-usdt0 tracks collateralization ratio for chUSD
Documentation/Proof: Provide links to documentation or any other resources that verify the oracle's usage:
https://docs.chateau.capital
forkedFrom (Does your project originate from another project):
Ethena.fi
methodology (what is being counted as tvl, how is tvl being calculated):
Github org/user (Optional, if your code is open source, we can track activity):
@chateau-capital on Github
Does this project have a referral program?
Yes, generate ref links on app.chateau.capital